package cn.com.chengmandian.netty.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "cmd.netty")
public class NettyProperties {
    private Boolean enable = false; // 开关

    private Integer port; // 端口
}
